﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace DiskGarden
{
	public partial class FrmAddCategory : Form
	{
		public string InputText { get { return txtCategoryName.Text; } }


		public FrmAddCategory()
		{
			InitializeComponent();
		}

		protected override void OnClosing(CancelEventArgs e)
		{
			base.OnClosing(e);
			if (this.DialogResult != DialogResult.OK)
				this.DialogResult = DialogResult.Cancel;
		}
	}
}
